package com.yc.damai.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Promotion {

    @Id
    private Long id;
    private String title;
    private String status;
    private LocalDateTime begin;
    private LocalDateTime end;
    private Double discount;
}
